<?php
/**
 * 查询视频处理状态
 */
require_once dirname(dirname(__DIR__))."/common.php";
use app\cls\tom\Response;
use app\cls\tom\SysResource;
use app\cls\tom\Tools;
use app\cls\tom\Config;
use app\model\Video_templet;

/**
 * 查询相框模板
 */
try{
    $db = SysResource::getDB(true);
    $Video_templet=new Video_templet($db);
    $res=$Video_templet->all_tempalte_photo();
    if(empty($res)){
        Response::output(0,"查询成功",[],0);
    }else{
        Response::output(0,"查询成功",$res,count($res));
    }
}catch(DBException $e){
    Response::output(-1,"系统忙碌中");
}
